//app.js
App({
  // serverUrl: "https://zzuisa.cn/deutsch",
  serverUrl: "http://localhost:888",
  // serverUrl:"http://192.168.43.155:888",
  globalData: {
    header: {
      Cookie: ''
    },
    header_image: {
      Cookie: '',
      'content-type': 'application/octet-stream'
    },
    promise: null,
    admin: '',
  },
  setGlobalUserInfo: function(user) {
    wx.setStorageSync("userInfo", user);
  },
  getGlobalUserInfo: function() {
    return wx.getStorageSync("userInfo");
  }
})